home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / GX Libraries / PaperTypeLibrary.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-16  |  1.3 KB  |  46 lines  |  [TEXT/MPS ]

  1.  
  2. /*
  3.     File:        PaperTypeLibrary.h
  4.  
  5.     Contains:    This file defines interfaces to the printing PaperType library.
  6.  
  7.     Version:    Quickdraw GX 1.1
  8.  
  9.     Written by:    Dave Hersey
  10.  
  11.     Copyright:    © 1994-1995 by Apple Computer, Inc., all rights reserved.
  12.  
  13.     File Ownership:
  14.  
  15.         DRI:                 Dave Hersey
  16.  
  17.         Other Contact:        Ron Voss
  18.  
  19.         Technology:         QuickDraw GX
  20.  
  21.     Change History (most recent first):
  22.  
  23.          <1>      6/6/95    DH        First checked in.
  24. */
  25.  
  26. #ifndef _PAPERTYPELIBRARY_
  27. #define _PAPERTYPELIBRARY_
  28.  
  29. #include <GXPrinting.h>
  30.  
  31. /* Papertype routines */
  32.  
  33. long                    GetPaperTypeBaseType (gxPaperType thePaperType);
  34. void                    SetPaperTypeBaseType (gxPaperType thePaperType, long theBasePaperType);
  35. unsigned long        GetPaperTypeCreator(gxPaperType thePaperType);
  36. void                    SetPaperTypeCreator (gxPaperType thePaperType, OSType theCreator);
  37. unsigned char        GetPaperTypeUnits (gxPaperType thePaperType);
  38. void                    SetPaperTypeUnits (gxPaperType thePaperType, unsigned char theUnits);
  39. unsigned long        GetPaperTypeFlags (gxPaperType thePaperType);
  40. void                    SetPaperTypeFlags (gxPaperType thePaperType, unsigned long theFlags);
  41. void                    GetPaperTypeComment (gxPaperType thePaperType, Str255 theComment);
  42. OSErr                    SetPaperTypeComment (gxPaperType thePaperType, Str255 theComment);
  43. void                    LockFormatPaperType (gxFormat theFormat, Boolean lockPaperType);
  44.  
  45. #endif
  46.